package com.yupi.PrepZone.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yupi.PrepZone.model.entity.Question;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;


/**
* @author asus
* @description 针对表【question(题目)】的数据库操作Mapper
* @createDate 2025-03-04 21:21:13
* @Entity generator.domain.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {

    @Select("select * from question where updateTime >= #{minUpdateTime}")
    List<Question> listQuestionWithDelete(Date fiveMinutesAgoDate);
}




